//
//  Define.h
//  FPTest
//
//  Created by zhaohong on 2017/11/8.
//  Copyright © 2017年 zhaohong. All rights reserved.
//

#ifndef Define_h
#define Define_h

//获取输入对应参数的故事板上的控制器
#define gotStoryController(a)[[UIStoryboard storyboardWithName:a  bundle:[NSBundle mainBundle]]instantiateViewControllerWithIdentifier:a]

//屏幕的宽和高
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height

//颜色值
#define kColor(a,b,c) [UIColor colorWithRed:a/255.0 green:b/255.0 blue:c/255.0 alpha:1]

//   自定义一个调试语句，可以打印所在的类和方法
#define NNSLOG(...) NSLog(@"%s %d \n %@\n\n",__func__,__LINE__,[NSString stringWithFormat:__VA_ARGS__])
#endif /* Define_h */

//获取当前ios版本系统号
#define kCurrentSystemVersion [[[UIDevice currentDevice] systemVersion] floatValue]



//-----------------------------小明---------------------
//顶部导航栏颜色
#define kNaviBarColor [UIColor hexColor:@"282a36"]
//背景颜色
#define kBackgroundColor [UIColor hexColor:@"f2f2f2"]




//-----------------------------小张---------------------
//#define iphone_4 320.0f
//#define iphone_5 320.0f
//#define iphone_6 375.0f
//#define iphone_6P 414.0f


